import { createStore } from "vuex";
import user from "./modules/user";
import layout from "./modules/layout";
import getters from "./getters";
import pages from "./modules/pages.js";
import permission from "./modules/permission.js";
import globalMessage from "./modules/global-message.js"

const store = createStore({
    getters,
    state: {},
    mutations: {},
    actions: {},
    modules: {
        user,
        layout,
        pages,
        permission,
        globalMessage,
    },
});
export default store;
